package com.gali.mall.request.productReq;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * @author gali
 * @date 2022/4/11 21:11
 */
public class DeleteProductReq {
    @Min(value =1,message = "id不能小于1")
    @NotNull(message = "id不能不空")
    private  Integer id;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
}
